package com.aiti.lulian.gxmh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * description:
 * auth fcb
 * date 2025-06-09 14:14
 **/
@Data
@TableName("gov_article")
public class GovArticle {

    /** 主键 */
    @ApiModelProperty(name = "主键",notes = "")
    @TableId(value = "base_id",type = IdType.INPUT)
    private String baseId ;

    /** 发文层级 */
    @ApiModelProperty(name = "发文层级",notes = "")
    @TableField(value = "level")
    private String level ;

    /** 政策类别 */
    @ApiModelProperty(name = "政策类别",notes = "")
    @TableField(value = "policy_type")
    private String policyType ;

    /** 文章标题 */
    @ApiModelProperty(name = "文章标题",notes = "")
    @TableField(value = "title")
    private String title ;

    /** 文章摘要 */
    @ApiModelProperty(name = "文章摘要",notes = "")
    @TableField(value = "overview")
    private String overview ;

    /** 文章来源 */
    @ApiModelProperty(name = "文章来源",notes = "")
    @TableField(value = "source")
    private String source ;

    /** 发文时间 */
    @ApiModelProperty(name = "发文时间",notes = "")
    @TableField(value = "article_publish_time")
    private Date articlePublishTime;

    /** 文章链接 */
    @ApiModelProperty(name = "文章链接",notes = "")
    @TableField(value = "url")
    private String url;

    /** 文章内容 */
    @ApiModelProperty(name = "文章内容",notes = "")
    @TableField(value = "body")
    private String body;

    @ApiModelProperty(name = "附件",notes = "")
    @TableField(value = "file_url")
    private String fileUrl;

    @ApiModelProperty(name = "点击数",notes = "")
    @TableField(value = "click_count")
    private Integer clickCount;

    @ApiModelProperty(name = "政策类型。web:爬取的，sys:后台录入的",notes = "")
    @TableField(value = "article_type")
    private String articleType;

    @ApiModelProperty(name = "省",notes = "")
    @TableField(value = "province")
    private String province;

    @ApiModelProperty(name = "市",notes = "")
    @TableField(value = "city")
    private String city;

    @ApiModelProperty(name = "县",notes = "")
    @TableField(value = "county")
    private String county;

    @ApiModelProperty(name = "热门政策的结束时间",notes = "")
    @TableField(value = "hot_end_time")
    private Date hotEndTime;

    /** 创建时间 */
    @ApiModelProperty(name = "创建时间",notes = "")
    @TableField(value = "base_create_time")
    private Date baseCreateTime ;

    /** 删除标识。0：未删除，1：已删除 */
    @ApiModelProperty(name = "删除标识。0：未删除，1：已删除",notes = "")
    @TableField(value = "is_delete")
    private Integer isDelete ;

    /** 创建人 */
    @ApiModelProperty(name = "创建人",notes = "")
    @TableField(value = "base_create_by")
    private String baseCreateBy ;

    /** 修改时间 */
    @ApiModelProperty(name = "修改时间",notes = "")
    @TableField(value = "base_update_time")
    private Date baseUpdateTime ;

    /** 修改人 */
    @ApiModelProperty(name = "修改人",notes = "")
    @TableField(value = "base_update_by")
    private String baseUpdateBy ;

    /** 表单id */
    @ApiModelProperty(name = "表单id",notes = "")
    @TableField(value = "form_id")
    private String formId;

    @ApiModelProperty(name = "街道",notes = "")
    @TableField(value = "street")
    private String street;
}
